#if !defined(__DVC_CONTROL_H__)
#define __DVC_CONTROL_H__

#include "dvc_common.h"

uint8_t dvc_config_check(dvc_t dvc);
uint8_t dvc_config_commit(dvc_t dvc);
uint8_t dvc_config_init_default(dvc_t dvc);
void dvc_config_user_cfg_sync(dvc_t dvc);
uint8_t dvc_read_user_config(dvc_t dvc);
uint8_t dvc_config_user_cfg_update(dvc_t dvc, dvc_user_cfg_t *cfg);
uint8_t dvc_hitstory_store(dvc_t dvc);
uint8_t dvc_hitstory_restore(dvc_t dvc);
uint16_t dvc_user_config_print_to(dvc_user_cfg_t *cfg, void *buf, uint16_t len);

#endif // __DVC_CONTROL_H__
